<?php


ob_start();
phpinfo();

$php_env_info = ob_get_contents();

ob_end_clean();

if(strpos($php_env_info,"mod_rewrite")) { 
    $rewrite = "This is good: <pre>mod_rewrite</pre> is available.";
} else {
    $rewrite = "This is not good: <pre>mod_rewrite</pre> is not available. You may want to consider setting it up.";
}

?>
<html>
<head>
	<link rel="stylesheet" type="text/css" href="/resources/css/style.css" />
<title>Welcome to Nexista</title>
</head>
<body>
<div id="container">
<h1>Welcome to Nexista</h1>
<p>You have successfully installed and configured the Nexista base packages.</p>
<p>Please visit <a href="http://docs.nexista.com/">http://docs.nexista.com/</a> for more information 
about where you can go from here. </p>
<p>In the meantime, you can also <a href="/mybuild.php">rebuild</a> the sitemap and configuration, or review
your system setup:</p>

<div>
<?php
echo $rewrite;
?>
</div>

</div>
</body>
</html>

<?php 



?>
